<?php

class cps_mdl_agreement extends dbeav_model {
    
    
    public function __construct($app) {
        parent::__construct($app);
    }
    
    
    public function getAgreementInfo() {
        //获取联盟协议
        $arrAgrees = $this->getList();
        //获取一条联盟协议
        $arrAgree = $arrAgrees[0];
        return $arrAgree;
    }
}